Skip to content

Conversation

ellieglad
Copy link

context.getExternalFilesDir(null) will default to what it believes is the primary storage, sometimes that's internal and sometimes that's external. With this change users will now be able to pick which option they want. If the user does nothing it defaults back to the existing getExternalFilesDir and allows the system to pick the default.

The new option shown here under "Choose local audio directory location".
image

Open to any changes or feel free to close if it's believed that this will not add value.
Thanks!

context.getExternalFilesDir(null) will default to what it believes is the primary storage, sometimes that's internal and sometimes that's external. With this change users will now be able to pick which option they want. If the user does nothing it defaults back to the existing getExternalFilesDir and allows the system to pick the default.
This change makes the code a lot cleaner, relying on the default shared preferences instead of trying to sync new ones.
@ellieglad ellieglad changed the title feat: allow users to pick local audio source location Allow users to pick local audio source location Apr 12, 2025
@ellieglad ellieglad requested a review from KamWithK September 19, 2025 17:50
@KamWithK
Copy link
Owner

@ellieglad would you be able to rebase the latest changes into your branch?

@ellieglad
Copy link
Author

ellieglad commented Sep 20, 2025

@KamWithK done. github's sync fork option only allows for merging not rebasing unfortunately.

@KamWithK
Copy link
Owner

KamWithK commented Sep 21, 2025

image

Hey so someone tried this PR for me, but they weren't able to choose a folder

Are you on Discord by any chance, it'd be easier to problem solve/discuss in messages

Discussions on TheMoeWay or DMs both work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants